
def fun1(n):
    res = 1
    i = 1
    while res <= n:
        res *= i
        i += 1
    return  res
def fun2(j,k):
    res1 = 0
    while j <= k:
        res1 += fun1(j)
        j +=2
    return res1
print(fun2(19))
